package zhu.areas.team.data;

import java.util.Date;

import zhu.areas.dic.data.TeamPubType;


/**
 * @hibernate.class table="T_TeamNotice" dynamic-insert="true" dynamic-update="true"
 * @author Administrator
 * 
 */
public class TeamNotice implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int noticeID;
	private int teamID;
	private String teamName;
	private int pubUserID;
	private String teamPubTitle;
	private String teamPubContent;
	private Date teamPubTime;	
	private TeamPubType teamPubType;//数据库中未建立外键关系
	
	
	public TeamNotice() {

	}

	public TeamNotice(int noticeID) {
		this.noticeID = noticeID;
	}

	/**
	 * @hibernate.id column="NoticeID" generator-class="increment"   unsaved-value="null"
	 * @return
	 */
	public int getNoticeID() {
		return noticeID;
	}
	public void setNoticeID(int noticeID) {
		this.noticeID = noticeID;
	}
	/**
	 * @hibernate.property  column="TeamID"    not-null="true"
	 * @return
	 */	
	public int getTeamID() {
		return teamID;
	}

	public void setTeamID(int teamID) {
		this.teamID = teamID;
	}

	/**
	 * @hibernate.property column="PubUserID"    not-null="true"
	 * @return
	 */	
	public int getPubUserID() {
		return pubUserID;
	}

	public void setPubUserID(int pubUserID) {
		this.pubUserID = pubUserID;
	}

	/**
	 * @hibernate.property column="TeamName"    not-null="true"
	 * @return
	 */	

	public String getTeamName() {
		return teamName;
	}

	public void setTeamName(String teamName) {
		this.teamName = teamName;
	}
	
	/**
	 * @hibernate.property column="TeamPubTitle"    not-null="true"
	 * @return
	 */	
	
	public String getTeamPubTitle() {
		return teamPubTitle;
	}
	public void setTeamPubTitle(String teamPubTitle) {
		this.teamPubTitle = teamPubTitle;
	}
	
	/**
	 * @hibernate.property column="TeamPubContent"    not-null="true"
	 * @return
	 */	
	public String getTeamPubContent() {
		return teamPubContent;
	}
	public void setTeamPubContent(String teamPubContent) {
		this.teamPubContent = teamPubContent;
	}
	
	/**
	 * @hibernate.property column="TeamPubTime"    not-null="true"
	 * @return
	 */	
	public Date getTeamPubTime() {
		return teamPubTime;
	}
	public void setTeamPubTime(Date teamPubTime) {
		this.teamPubTime = teamPubTime;
	}

	/**
	 * @hibernate.many-to-one class="zhu.areas.dic.data.TeamPubType"
	 *                        column="TeamPubType" not-null="true" lazy="false"
	 */	
	public TeamPubType getTeamPubType() {
		return teamPubType;
	}

	public void setTeamPubType(TeamPubType teamPubType) {
		this.teamPubType = teamPubType;
	}


	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	

	


}
